projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b9dfb
)
Add "chk build" check that we've got xgettext since it's now required.
author
Keir Fraser
<keir@xensource.com>
Thu, 19 Apr 2007 18:32:10 +0000
(19:32 +0100)
committer
Keir Fraser
<keir@xensource.com>
Thu, 19 Apr 2007 18:32:10 +0000
(19:32 +0100)
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
tools/check/check_xgettext
[new file with mode: 0755]
patch
|
blob
diff --git a/tools/check/check_xgettext
b/tools/check/check_xgettext
new file mode 100755
(executable)
index 0000000..
0781ec5
--- /dev/null
+++ b/
tools/check/check_xgettext
@@ -0,0
+1,14
@@
+#!/bin/sh
+# CHECK-BUILD
+
+RC=0
+
+TOOL="xgettext"
+which ${TOOL} 1>/dev/null 2>&1 || RC=1
+
+if test ${RC} -ne 0; then
+ echo
+ echo " *** Check for the gettext utility (${TOOL}) FAILED"
+fi
+
+exit ${RC}